Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers. So it is useful for people who want to share the code, data, and even analysis environment with other people to repeat their analysis and results.
We provide a docker version of lagcishiny, all the packages in lagcishiny and the dependent packages have been installed.
13.1 Install docker
Please refer to the offical website to download and install docker. And then run docker.
13.2 Pull the lagcishiny image
Open you terminal and then type code below:
docker pull jaspershenlab/lagcishiny
13.3 Run lagcishiny docker image
In you terminal, run the code below:
docker run -e PASSWORD=lagcishiny -p 3838:3838 jaspershen/lagcishiny:latest
The below command will link the RStudio home folder with the desktop of the local machine running the container. Anything saved or edited in the home folder when using the container will be stored on the local desktop.
docker run -e PASSWORD=lagcishiny -v ~/Desktop:/home -p 3838:3838 jaspershen/lagcishiny:latest
13.4 Open the lagcishiny app
Then open the browser and visit http://localhost:3838 to power on lagcishiny app. The user name is rstudio and the password is lagcishiny.
13.5 Session information
sessionInfo()
R version 4.5.1 (2025-06-13)
Platform: aarch64-apple-darwin20
Running under: macOS Tahoe 26.0
Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.1
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: Asia/Singapore
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] htmlwidgets_1.6.4 compiler_4.5.1 fastmap_1.2.0 cli_3.6.5
[5] tools_4.5.1 htmltools_0.5.8.1 rstudioapi_0.17.1 rmarkdown_2.29
[9] knitr_1.50 jsonlite_2.0.0 xfun_0.53 digest_0.6.37
[13] rlang_1.1.6 evaluate_1.0.4